Skip to content

fix: resolve DTS build errors in sveltekit, express, and nextjs adapters#668

Merged
hotlong merged 3 commits into
mainfrom
copilot/fix-build-and-test-one-more-time
Feb 13, 2026
Merged

fix: resolve DTS build errors in sveltekit, express, and nextjs adapters#668
hotlong merged 3 commits into
mainfrom
copilot/fix-build-and-test-one-more-time

Conversation

Copilot AI commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

Three adapter packages fail DTS generation under TypeScript 5.9, breaking the monorepo build (29 tasks, 3 failing).

  • sveltekitrequest.json() returns unknown in TS 5.9; added type assertion to match handleGraphQL signature
  • expressAuthService.handleRequest parameter typed as express Request (imported), but called with global Fetch API Request via new Request(); qualified as globalThis.Request
  • nextjs — Server actions passed {} as HttpProtocolContext, which requires a request property; introduced shared emptyContext with request: undefined

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel

vercel Bot commented Feb 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectstack-play Ready Ready Preview, Comment Feb 13, 2026 4:33pm
spec Ready Ready Preview, Comment Feb 13, 2026 4:33pm

Request Review

Copilot AI and others added 2 commits February 13, 2026 16:12
…s adapters

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
…s adapter

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issues with build and testing process fix: resolve DTS build errors in sveltekit, express, and nextjs adapters Feb 13, 2026
Copilot AI requested a review from hotlong February 13, 2026 16:15
@hotlong
hotlong marked this pull request as ready for review February 13, 2026 16:26
Copilot AI review requested due to automatic review settings February 13, 2026 16:26
@hotlong
hotlong merged commit 67f5a1c into main Feb 13, 2026
3 of 5 checks passed
Copilot AI removed the request for review from Copilot March 23, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants